package org.jeecg.modules.classrooms.classrooms.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: classrooms_property
 * @Author: jeecg-boot
 * @Date:   2020-06-03
 * @Version: V1.0
 */
@ApiModel(value="classrooms对象", description="classrooms")
@Data
@TableName("classrooms_property")
public class ClassroomsProperty implements Serializable {
    private static final long serialVersionUID = 1L;

	/**教室id*/
	@ApiModelProperty(value = "教室id")
	private String classroomsId;
	/**物资id */
	@Excel(name = "物资id ", width = 15, dictTable = "property", dicText = "property_name", dicCode = "id")
	@ApiModelProperty(value = "物资id ")
	private String propertyId;
	/**物资数量*/
	@Excel(name = "物资数量", width = 15)
	@ApiModelProperty(value = "物资数量")
	private String propertyNumber;

	/**物资名称*/
	@Excel(name = "教室id", width = 15)
	@ApiModelProperty(value = "物资名称")
	@TableField(exist = false )
	private String propertyName;

	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
	@ApiModelProperty(value = "id")
	private String id;
}
